cc=g++

.PHONY:All
ALL:server
#All:: parser server
demo:demo.cc
	$(cc) -o $@ $^ -std=c++11 -ljsoncpp
#parser:parser.cc
 	#$(cc) -o $@ $^ -std=c++11 -lboost_system -lboost_filesystem
server:server.cc
	$(cc)  -g -o $@ $^ -std=c++11 -lpthread -ljsoncpp
.PHONY:clean
clean:
	rm -rf parser  server
